package router

import (
	"github.com/gin-gonic/gin"
	v1 "guns-go/controller/v1"
)

func InitSysNoticeRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	NoticeRouter := Router.Group("sysNotice")
	{
		NoticeRouter.GET("detail", v1.SysNoticeDetail)
		NoticeRouter.GET("page", v1.SysNoticePage)
		NoticeRouter.POST("add", v1.SysNoticeAdd)
		NoticeRouter.POST("changeStatus", v1.SysNoticeChangeStatus)
		NoticeRouter.GET("received", v1.SysNoticeReceived)
		NoticeRouter.POST("edit", v1.SysNoticeEdit)
		NoticeRouter.POST("delete", v1.SysNoticeDelete)
	}
	return NoticeRouter
}
